import React, { Component } from 'react'
import {Route, Switch, Redirect} from 'react-router-dom'
import MyResume from './children/MyResume/MyResume'
import AddResume from './children/AddResume/AddResume'
export default class SiteMonitor extends Component {

    render() {
        return (
            <Switch>
                <Route path='/resume/myresume/list' component={MyResume} />
                <Route path='/resume/addresume/add/:_id' component={AddResume} />
                <Redirect to='/siteMonitor/myresume/list' />
            </Switch>
        )
    }
}
